package com.example.homework

import android.app.Application
import androidx.room.Room
import androidx.room.RoomDatabase
import com.example.homework.db.AppDB

class App : Application() {
    lateinit var db: AppDB
    override fun onCreate() {
        super.onCreate()
        db = Room.databaseBuilder(applicationContext, AppDB::class.java, "db").build()
    }
}